package com.umpay.privi.dao.on.sys;

import java.util.List;
import java.util.Map;

import com.umpay.common.persist.ibatis.DataAccessException;
import com.umpay.privi.dao.EntityDao;
import com.umpay.privi.model.sys.GroupUserRel;

/** 
 * desc: 用户组Dao
 * <p>创建人：lijing 创建日期：Apr 19, 2013 </p>
 * @version V1.0  
 */
public interface GroupUserRelDao  extends EntityDao<GroupUserRel> {
	/**
	 * desc:添加用户用户组关系
	 * <p>创建人：lijing , Apr 19, 2013 5:38:08 PM</p>
	 * @throws DataAccessException
	 */
	void add(String userGroupId, String userId, String sysId)throws DataAccessException;
	
	/**
	 * desc:修改用户所属组
	 * <p>创建人：lijing , Apr 19, 2013 5:38:08 PM</p>
	 * @throws DataAccessException
	 */
	void updateGroupId(Map<String, Object> qryMap)throws DataAccessException;
	/**
	 * 
	 * desc:根据条件查询UserGroup对象的list
	 * @author liuguangjun, May 27, 2013 8:21:06 PM
	 * @param qryMap
	 * @return
	 * @throws DataAccessException
	 */
	public List<GroupUserRel> queryListByKeys(Map<String, Object> qryMap) throws DataAccessException;
}



